package com.itheima.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class DishVo {
    private String id;
    private Integer type;
    private String name;
    private String categoryId;
    private BigDecimal price;
    private String code;
    private String image;
    private Integer status;
    private Integer sort;
    @JsonFormat(pattern = "yyyy-MM-dd:HH:mm:ss")
    private LocalDateTime updateTime;
    private String categoryName;
}
